#include<iostream>
#include"Thread.hpp"
#include"unistd.h"
using namespace ThreadModule;
void handler(const int a)
{
    while(1){
        sleep(1);
        std::cout<<a<<std::endl;
    }
    return ;
} 
int main()
{

    Thread<int> t1(handler,10);
    t1.Start();
    t1.Join();
    
    return 0;
}